package com.qili.service.jc.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.jc.ProjectBcUnit;
import com.qili.entity.supervisor.ProjectLeader;
import com.qili.entity.supervisor.dto.ProjectLeaderDTO;
import com.qili.mapper.jc.ProjectBcUnitMapper;
import com.qili.mapper.supervisor.ProjectLeaderMapper;
import com.qili.service.jc.ProjectBcUnitService;
import com.qili.service.supervisor.ProjectLeaderService;
import com.qili.util.CommonUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lenovo on 2020/11/2.
 */
@Service
public class ProjectBcUnitServiceImpl extends BaseServiceImpl<ProjectBcUnit,String> implements ProjectBcUnitService {

    @Autowired
    ProjectBcUnitMapper projectBcUnitMapper;
    @Override
    public BaseMapper<ProjectBcUnit, String> getMappser() {
        return projectBcUnitMapper;

    }

    @Override
    public List<ProjectBcUnit> queryListByPro(String id) {
        return projectBcUnitMapper.queryListByPro(id);
    }
}
